package com.googlecode.yoohoo.xmppcore.protocol.stream.error;

import com.googlecode.yoohoo.xmppcore.protocol.XmlLangText;

public class BadFormat extends StreamError {
	public BadFormat() {
		super("bad-format");
	}
	
	public BadFormat(String text) {
		super("bad-format");
		if (text != null) {
			setText(new XmlLangText(text));
		}
	}
}
